package org.metasketch.demo.model;

import java.util.ArrayList;
import java.util.List;

public class ActorRole extends CommonDoubleIdentified {

	boolean composite = false;
	List<ActorRole> containedActorRoles = new ArrayList<ActorRole>();

	List<TransactionKind> initiate = new ArrayList<TransactionKind>();
	List<TransactionKind> execute = new ArrayList<TransactionKind>();

	OrganizationalUnit assignedTo;

	public boolean isComposite() {
		return composite;
	}

	public void setComposite(boolean composite) {
		this.composite = composite;
	}

	public List<ActorRole> getContainedActorRoles() {
		return containedActorRoles;
	}

	public void setContainedActorRoles(List<ActorRole> containedActorRoles) {
		this.containedActorRoles = containedActorRoles;
	}

	public List<TransactionKind> getInitiate() {
		return initiate;
	}

	public void setInitiate(List<TransactionKind> initiate) {
		this.initiate = initiate;
	}

	public List<TransactionKind> getExecute() {
		return execute;
	}

	public void setExecute(List<TransactionKind> execute) {
		this.execute = execute;
	}

	public OrganizationalUnit getAssignedTo() {
		return assignedTo;
	}

	public void setAssignedTo(OrganizationalUnit assignedTo) {
		this.assignedTo = assignedTo;
	}

}
